package com.ccys.db.mapper;

import com.ccys.db.dto.web.productAndService.BatchDetailProductDto;
import com.ccys.db.dto.web.productAndService.ProductListDetailDto;
import com.ccys.db.entity.TblProductListDetail;
import com.ccys.db.vo.doctor.doctorConsultStage.CheckQuantityMedicationInPackageVo;
import com.ccys.db.vo.web.productAndService.ExistProductVo;
import com.ccys.db.vo.web.productAndService.ProductListDetailVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblProductListDetailMapper extends Mapper<TblProductListDetail>, MySqlMapper<TblProductListDetail> {

    List<ExistProductVo> getExistProductList(String listId, List<BatchDetailProductDto> dtoList);

    List<ProductListDetailVo> getList(ProductListDetailDto dto);

    void deleteDetails(String listId);

    List<CheckQuantityMedicationInPackageVo> checkQuantityMedicationInPackage(@Param("packageId") String packageId);
}